package controllers

import "sigs.k8s.io/controller-runtime/pkg/client"

func ContainsAnnotation(obj client.Object, annotation string) bool {
	annotations := obj.GetAnnotations()
	if _, ok := annotations[annotation]; ok {
		return false
	} else {
		return true
	}
}
